import time
y=2*24*60*60+1687778960
z=0
z1=int(input(''))
while True:
    x=time.time()
    print(int(y-x)/86000)
    time.sleep(1)
    z+=1
    if z>=z1:
        break